/**
    ******************************************************************************
    * @file    binHeap.h
    * @author  debian
    * @version V1.0.0
    * @date    2020-01-19
    * @brief   二叉堆
    ******************************************************************************
    * @attention
    *
    *
    ******************************************************************************
    */ 

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __BINHEAP_H
#define __BINHEAP_H

#ifdef __cplusplus
    extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/


/** @addtogroup DataStruct_Driver
    * @{
    */

/** @addtogroup binHeap
    * @{
    */
typedef Elemtype int;

typedef struct binHeap
{
	int size;			//data数组的长度
	int len;			//有对少有限数据
	Elemtype *data;		//data数据
}_binHeap;



/* Exported types ------------------------------------------------------------*/
/** @defgroup 
    * @{
    */ 




/**
    * @}
    */


/* Exported constants --------------------------------------------------------*/

/* Exported macro ------------------------------------------------------------*/

/* Exported functions --------------------------------------------------------*/ 
/* Initialization and de-initialization functions *******************************/
/** @addtogroup binHeap_Exported_Functions
    * @{
    */

/** @addtogroup binHeap_Exported_Functions_Group1
    * @{
    */
    struct binHeap *binHeap_creat(int size);
    int binHeap_destroy(struct binHeap *heap);

/**
    * @}
    */

/* operation functions *******************************************************/
/** @addtogroup binHeap_Exported_Functions_Group2
    * @{
    */



/**
    * @}
    */

/**
    * @}
    */ 

/**
    * @}
    */

/**
    * @}
    */


#ifdef __cplusplus
}
#endif

#endif /* __BINHEAP_H */

/******************* (C) 2020 HOME 深圳龙华 *****END OF FILE****/

